package demo07;

public class Dog extends Animal {
    @Override
    public void eat() {
        System.out.println("狗吃骨头");
    }

    public void watchHouse() { // 子类特有方法
        System.out.println("狗看家");
    }
}
